package com.aioething.iot.service;

import com.aioething.iot.beans.RegisterRequest;
import com.aioething.iot.beans.RegisterResponse;
import com.aioething.iot.dto.EquipmentDto;
import com.aioething.iot.model.Equipment;
import com.aioething.iot.vo.EquipmentVo;
import com.github.pagehelper.PageInfo;

public interface IEquipmentService {
    int save(Equipment equipment);
    int delete(String equipmentId);
    int update(Equipment equipment);
    PageInfo<EquipmentVo> query(EquipmentDto equipmentDto);
    RegisterResponse register(RegisterRequest request);
}
